/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx.mapper;

import cn.webrx.pojo.Book;
import cn.webrx.vo.VoBook;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>Project: spring2021 - BookMapper
 * <p>Powered by webrx On 2021-11-03 11:01:38
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
@Service
public interface BookMapper {

    public List<Book> queryAll();
    public List<VoBook> query();


    @Select("select name from book")
    public List<String> tbs();
}
